Fully Qualified Name: | Laminas\Db\Adapter\Driver\IbmDb2\Connection |
Extends: | AbstractConnection |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | Connection |
beginTransaction() | {@inheritDoc} | Connection |
commit() | {@inheritDoc} | Connection |
connect() | {@inheritDoc} | Connection |
disconnect() | {@inheritDoc} | Connection |
execute() | {@inheritDoc} | Connection |
getConnectionParameters() | Get connection parameters | AbstractConnection |
getCurrentSchema() | {@inheritDoc} | Connection |
getDriverName() | Get driver name | AbstractConnection |
getLastGeneratedValue() | {@inheritDoc} | Connection |
getProfiler() | AbstractConnection | |
getResource() | {@inheritDoc} | AbstractConnection |
inTransaction() | Checks whether the connection is in transaction state. | AbstractConnection |
isConnected() | {@inheritDoc} | Connection |
rollback() | Rollback | Connection |
setConnectionParameters() | AbstractConnection | |
setDriver() | Set driver | Connection |
setProfiler() | {@inheritDoc} | AbstractConnection |
setResource() | Connection |
Constructor
Parameter Name | Type | Description |
---|---|---|
$connectionParameters | array|resource|null | (ibm_db2 |
Returns:
{@inheritDoc}
Returns:
{@inheritDoc}
Returns:
{@inheritDoc}
Returns:
{@inheritDoc}
Returns:
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$sql |
Returns:
Get connection parameters
Returns: array
{@inheritDoc}
Returns:
Get driver name
Returns: null|string
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$name |
Returns:
Returns: null|\ProfilerInterface
{@inheritDoc}
Returns: resource
Checks whether the connection is in transaction state.
Returns: bool
{@inheritDoc}
Returns:
Rollback
Returns: self Provides a fluent interface
Parameter Name | Type | Description |
---|---|---|
$connectionParameters | array |
Returns: self Provides a fluent interface
Set driver
Parameter Name | Type | Description |
---|---|---|
$driver | \IbmDb2 |
Returns: self Provides a fluent interface
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$profiler |
Returns: self Provides a fluent interface
Parameter Name | Type | Description |
---|---|---|
$resource | resource | DB2 |
Returns: self Provides a fluent interface